package net.wds.ssbus.modules.ssbus.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Repository;

import java.util.Date;

@Data
@Repository
public class TbSsbusRouteEntrty {

  private long id;
  private String name;
  private long fromChannelId;
  private String fromChannelName;
  private long toChannelId;
  private String toChannelName;
  private long translatorId;
  private String translatorName;
  private String description;
  private long uversion;
  @ApiModelProperty(value = "创建时间",dataType = "java.util.date")
  @JsonFormat(pattern = "yyyy-MM-dd")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date addTime;
  private String addUser;
  @ApiModelProperty(value = "修改时间",dataType = "java.util.date")
  @JsonFormat(pattern = "yyyy-MM-dd")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date editTime;
  private String editUser;


}
